﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DotNetUniLodz.HelperClasses;
using HashLib;

namespace DotNetUniLodz.Tests
{
    [TestClass]
    public class MembershipProviderTests
    {
        [TestMethod]
        public void TestValidateUser()
        {
            MyMembershipProvider membershipProvider = new MyMembershipProvider();
            string username = "Test";
            string password = "123456";
            bool actual = membershipProvider.ValidateUser(username, password);
            Assert.AreEqual(true, actual);
        }
    }
}
